# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xconsole
pkgver=1.0.7
pkgrel=1
pkgdesc="Monitor system console messages with X"
arch=('i686' 'x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
makedepends=('xorg-util-macros')
source=(https://xorg.freedesktop.org/archive/individual/app/xconsole-${pkgver}.tar.bz2{,.sig})
sha256sums=('d1144882df207378381bc83927906559defbf7b83a01d52c50ad44234c5851e0'
            'SKIP')
validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A')

build() {
  cd "${srcdir}/xconsole-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xconsole-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
